package v1

import (
	"github.com/gogf/gf/v2/frame/g"
	v1 "home-butler/api/common/v1"
)

type ProductTopicListReq struct {
	g.Meta    `path:"/product/topic/list" tags:"productTopic" method:"post" summary:"topic列表"`
	Topic     string `json:"topic" description:"topic"`
	ProductId int64  `json:"productId" description:"产品Id"`
	v1.BaseReq
}

type ProductTopicPageRes struct {
	Id        int64  `json:"id"                                  description:"topic Id"`
	ProductId int64  `json:"productId"                                  description:"产品Id"`
	Topic     string `json:"topic"                                 description:"topic"`
	Type      string `json:"type"                      description:"权限类型"`
}

type ProductTopicReq struct {
	g.Meta    `path:"/product/topic/create" tags:"productTopic" method:"post" summary:"添加产品topic"`
	ProductId int64  `json:"productId"                                  description:"产品Id"`
	Topic     string `json:"topic"                                 description:"topic"`
	Type      string `json:"type"                      description:"权限类型"`
}

type ProductTopicUpdateReq struct {
	g.Meta `path:"/product/topic/update" tags:"productTopic" method:"post" summary:"编辑产品topic"`
	Id     int64  `json:"id"                                  description:"topic Id"`
	Topic  string `json:"topic"                                 description:"topic"`
	Type   string `json:"type"                      description:"权限类型"`
}

type ProductTopicDelReq struct {
	g.Meta `path:"/product/topic/del" tags:"productTopic" method:"post" summary:"删除产品topic"`
	Id     int64 `json:"id"                                  description:"topic Id"`
}

type ProductTopicRes struct {
}
